package com.rc.saas.mini.model.member;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.rc.saas.mini.common.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description 
 * @Author  
 * @Date: 2022-04-24
 */

@ApiModel(value=" member_sms_setting ", description=" 用户设置 ")
public class MemberSmsSetting extends BaseModel{ 

    @ApiModelProperty(value = "id")
    private Integer smsSettingId;
 
    @ApiModelProperty(value = "用户id")
    private Long memberId;
 
    @ApiModelProperty(value = "运营商编码")
    private String tenantCode;
 
    @ApiModelProperty(value = "是否开启余额不足短信提醒 0:打开 1:关闭")
    private String openAccountWarn;
 
    @ApiModelProperty(value = "最小提醒金额")
    private BigDecimal minAccountWarnValue;
 
    @ApiModelProperty(value = "开启余额不足短信提醒的手机号,可多个,使用半角逗号分隔")
    private String openAccountWarnMobiles;
 
    @ApiModelProperty(value = "创建人")
    private String createdBy;
 
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;
 
    public Integer getSmsSettingId() {
        return smsSettingId;
    }

    public void setSmsSettingId(Integer smsSettingId) {
        this.smsSettingId = smsSettingId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public String getOpenAccountWarn() {
        return openAccountWarn;
    }

    public void setOpenAccountWarn(String openAccountWarn) {
        this.openAccountWarn = openAccountWarn;
    }

    public BigDecimal getMinAccountWarnValue() {
        return minAccountWarnValue;
    }

    public void setMinAccountWarnValue(BigDecimal minAccountWarnValue) {
        this.minAccountWarnValue = minAccountWarnValue;
    }

    public String getOpenAccountWarnMobiles() {
        return openAccountWarnMobiles;
    }

    public void setOpenAccountWarnMobiles(String openAccountWarnMobiles) {
        this.openAccountWarnMobiles = openAccountWarnMobiles;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

}
